package com.jia.together.service;

import com.jia.together.entity.Course;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dujiajia
 * @since 2021-02-20
 */
public interface CourseService extends IService<Course> {
    Map<String, Object> selectPageList(String typeId,Long pageNum, Long pageSize);

    Map<String, Object> selectChapters(Long pageNum, Long pageSize);

    Course selectDetails(String id);

    Map<String, Object> selectByTypeId(String courseTypeId, Long pageNum, Long pageSize);

    void click(String courseId, String memberId);

}
